package com.cn.controller;

import com.cn.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
public class BookServlet {
    @Autowired(required = false)
    private BookService bookService;

    public void doget(){
       bookService.Save();
    }


}
